package org.hyacinth.user.service;


import org.hyacinth.user.api.pojo.request.UserInfoRegisterReq;
import org.hyacinth.user.api.pojo.request.UserInfoRequest;
import org.hyacinth.user.api.pojo.response.UserInfoResponse;
import org.hyacinth.user.api.pojo.response.UserLoginResponse;

public interface UserService {
    UserLoginResponse login(UserInfoRequest user);

    UserInfoResponse getUserInfo(Integer userId);

    UserInfoResponse selectAuthorInfoByBlogId(Integer blogId);

    Integer register(UserInfoRegisterReq userInfoRegisterReq);
}
